const {
	db,
	dbCmd,
	result_success,
	result_error,
	contactCollection
} = require('../../common/constants')
module.exports = async function(params = {}) {
	let contact = await contactCollection.where({
		shop_id: params.shop_id
	}).get()
	contact = contact.data[0]
	return result_success(contact)
}